Which of the following statement is correct?

Question:
Which of the following statement is correct?

1.A constructor of a derived class can access any public and protected member of the base class.

2.Constructor cannot be inherited but the derived class can call them.

3.A constructor of a derived class cannot access any public and protected member of the base class.

4. Both A and B.

Posted Date:-2021-02-24 09:16:11


More MCQS Questions and answers

Search
Olete Team
Online Exam Test Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Test website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!